package top.kaoshanji.p1ch01a;

import java.io.PrintStream;

/**
 * 代码清单-p1ch01a-13页a：吟游诗人是中世纪的音乐记录器
 * @author kaoshanji
 * ^_^
 * create time 2025/4/22 10:30
 */
public class Minstrel {

    private PrintStream stream;

    public Minstrel(PrintStream stream) {
        this.stream = stream;
    }

    public void singBeforeQuest() {
        stream.println("Fa la la, the knight is so brave!");
    }

    public void singAfterQuest() {
        stream.println("Tee hee hee, the brave knight did embark on a quest!");
    }

}
